carry around user data in BablConversion
authorØyvind Kolås <pippin@gimp.org>
Sun, 18 Mar 2012 14:17:04 +0000 (14:17 +0000)
committerØyvind Kolås <pippin@gimp.org>
Sun, 18 Mar 2012 14:17:04 +0000 (14:17 +0000)
commitfc2c0afa0f26a970cfdee28511a676e392415fd9
tree1244306cf64b9f6054204759af5fe88b19931a4e
parent23345ce49c8ba6c6d185a788da90ff3c8c9a077e
carry around user data in BablConversion

Having the user data for relevant conversions directly in BablConversion
permits avoiding branches in the dispatch code. Branches in dispatch code
is evil, thus desinging the rest around avoiding that.
babl/babl-conversion.c
babl/babl-conversion.h
babl/babl-palette.c
babl/babl-types.h